<?php
elgg_load_library('elgg:selected_pool');
$tableArray = get_my_focused(elgg_get_page_owner_guid(), 'desc');

$cnt = 0;
foreach($tableArray as $tblRows){
	
	if($cnt++ > 0) {
		echo ', ';
		//echo '<br/>';
	}
		
	foreach($tblRows as $tblHead => $tblCells){
		if ($tblHead == 'Ticker') {
			$xray_url = elgg_get_site_url()."xray/$tblCells";
			echo "<span><a target='_blank' href='$xray_url'>$tblCells";
		} else {
			echo " $tblCells</a></span>";
		}
	}
}


